#ifndef CARDS_H
#define CARDS_H

#include <jansson.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>

/*Maybe effects need to be a struct for me to know the speed of the effect*/
typedef struct cards_pointer cards_ptr;
struct cards_pointer{
	char * card_type;
	void * card;
	cards_ptr * next;
};

struct Monster_Card {
	char * name;
	char * attribute;
	char * type;
	char * extra_types; //Tuner, Pendulum, Fusion, synchro, Link maybe
	uint8_t level;
	uint8_t rank;
	uint32_t atk;
	uint32_t def;
	bool (*effect)();
};

struct Trap_Card {
	char * name;
	char * type;
	bool (*effect)();
};

struct Magic_Card {
	char * name;
	char * type;
	bool (*effect)();
};

cards_ptr *get_cards(void);

#endif
